package com.daezi.ww;

class A {

    {
        System.out.println("实例代码块被执行了");
    }
    static {
        System.out.println("静态代码块被执行了");
    }
    public A() {
        System.out.println("构造方法被执行了");
    }
}

public class Shun {
    public static void main(String[] args) {
        A a = new A();
    }
}
